package com.meteor.quartz.convert;

import com.meteor.quartz.entity.ScheduleJobLog;
import com.meteor.quartz.vo.ScheduleJobLogVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 定时任务日志
*
* @author lynn
*/
@Mapper
public interface ScheduleJobLogConvert {
    ScheduleJobLogConvert INSTANCE = Mappers.getMapper(ScheduleJobLogConvert.class);

    ScheduleJobLog convert(ScheduleJobLogVO vo);

    ScheduleJobLogVO convert(ScheduleJobLog entity);

    List<ScheduleJobLogVO> convertList(List<ScheduleJobLog> list);

}